package com.ruoyi.project.order.service.impl;

import com.ruoyi.project.order.domain.BinsOrder;
import com.ruoyi.project.order.domain.BinsOrderStt;
import com.ruoyi.project.order.mapper.OrderStatMapper;
import com.ruoyi.project.order.service.IOrderStatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class OrderStatServiceImpl implements IOrderStatService {

    private final OrderStatMapper orderstatMapper;

    @Autowired
    public OrderStatServiceImpl(OrderStatMapper orderstatMapper) {
        this.orderstatMapper = orderstatMapper;
    }

    @Override
    public List<Map> getOrderStatByMarch(BinsOrderStt order) {
        List<Map> list = orderstatMapper.getOrderStatByMarch(order);
        return list;
    }

    // 绀轰緥鏂规硶
}
